<?php

class Customer extends CActiveRecord {
    
    public static function model($className = __CLASS__) {
        return parent::model($className);
    }

    public function primaryKey() {
        return 'id';
    }

    public function tableName() {
        return "customer";
    }
    
    public function attributeLabels() {
        return array (
            "id" => "id",
            "password" => "password",
            "email" => "e-mail",
            "Name" => "Name",
            "Surname" => "Surname",
            "birthdate" => "Birth Date",
            "telephone" => "Tel.",
            "sex" => "Sex",
            "heigth" => "Heigth",
            "weight" => "Weight",
            "picture" => "Picture",
            "activate_key" => "Activate key",
            "active" => "Active Status",
            "session_id" => "session_id",
            "create_date" => "create_date",
            "update_date" => "update_date",
        );
    }
}
